<table>
    <tbody>
        <tr class="prop">
            <td class="name">
                <label for="td001"><g:message code="moc.td.td001.label" default="Td001" /></label>
            </td>
            <td class="value ${hasErrors(bean: tdInstance, field: 'td001', 'errors')}">
                <g:textField name="td001" value="${tdInstance?.td001}" />
            </td>
            <td class="name">
                <label for="td002"><g:message code="moc.td.td002.label" default="Td002" /></label>
            </td>
            <td class="value ${hasErrors(bean: tdInstance, field: 'td002', 'errors')}">
                <g:textField name="td002" value="${fieldValue(bean: tdInstance, field: 'td002')}" />
            </td>
        </tr>
        <tr class="prop">
            <td class="name">
                <label for="td003"><g:message code="moc.td.td003.label" default="Td003" /></label>
            </td>
            <td class="value ${hasErrors(bean: tdInstance, field: 'td003', 'errors')}">
                <g:textField name="td003" value="${fieldValue(bean: tdInstance, field: 'td003')}" />
            </td>
            <td class="name"></td>
            <td class="value"></td>
        </tr>
    </tbody>
</table>